package com.tjetc.service;

import com.github.pagehelper.PageInfo;
import com.tjetc.domain.SpecializedGroup;
import com.tjetc.vo.Result;

import java.util.List;

public interface SpecializedGroupService{


    int deleteByPrimaryKey(Integer id);

    int insert(SpecializedGroup record);

    int insertSelective(SpecializedGroup record);

    SpecializedGroup selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SpecializedGroup record);

    int updateByPrimaryKey(SpecializedGroup record);

    Result selectAll();

    List<SpecializedGroup> selectByName(String name);

    PageInfo<SpecializedGroup> getByNameandPage(String name, Integer pageNum, Integer pageSize);

    Result save(SpecializedGroup specializedGroup);
}
